<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
  <p></p>
  <img src="" alt="">
</body>
<script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.7.1/jquery.js"></script>
<script>
  $.ajax({
    type: "get",
    url: "http://127.0.0.1:3000/singer/2.html",
    success: function (response) {
      console.log(response);
      $("p").html(response.singer_name);
      $("img").attr("src",response.singer_pic);
    } 
  });
  
</script>
</html>